<% content_for :page_title do %>
  <%= page_title %> / <%= @object.name %>
<% end %>

<% content_for :page_actions do %>
  <%= link_to_with_icon 'arrow-left', back_button_text, collection_url, class: 'btn btn-default' %>
<% end %>

<%= render partial: 'spree/admin/shared/error_messages', locals: { target: @object } %>

<%= form_for [:admin, @object] do |f| %>
  <fieldset>
    <%= render partial: 'spree/admin/shared/named_types/form', locals: { f: f } %>
    <%= render partial: 'spree/admin/shared/edit_resource_links' %>
  </fieldset>
<% end %>
